﻿package model 
{
	import mx.collections.ArrayCollection;
	/**
	 * ...
	 * @author 
	 */
	[Bindable]
	public class ModelLocator
	{
		static private var __instance:ModelLocator = null;
		
		public var tokeidata:ArrayCollection = new ArrayCollection([ 
			{name:"北海道",kentyo:"札幌市",jinko:5542740,menseki:78420.24,mitsudo:70.68,si:35,ku:10,tyo:129,son:15},
			{name:"青森県",kentyo:"青森市",jinko:1394881,menseki:9607.05,mitsudo:145.19,si:10,ku:0,tyo:22,son:8},
			{name:"岩手県",kentyo:"盛岡市",jinko:1352387,menseki:15278.85,mitsudo:88.51,si:13,ku:0,tyo:16,son:5},
			{name:"宮城県",kentyo:"仙台市",jinko:2343767,menseki:7285.74,mitsudo:321.69,si:13,ku:5,tyo:21,son:1},
			{name:"秋田県",kentyo:"秋田市",jinko:1109085,menseki:11612.22,mitsudo:95.51,si:13,ku:0,tyo:9,son:3},
			{name:"山形県",kentyo:"山形市",jinko:1189152,menseki:9323.46,mitsudo:127.54,si:13,ku:0,tyo:19,son:3},
			{name:"福島県",kentyo:"福島市",jinko:2055496,menseki:13782.75,mitsudo:149.14,si:13,ku:0,tyo:31,son:15},
			{name:"茨城県",kentyo:"水戸市",jinko:2968396,menseki:6095.69,mitsudo:486.97,si:32,ku:0,tyo:10,son:2},
			{name:"栃木県",kentyo:"宇都宮市",jinko:2014650,menseki:6408.28,mitsudo:314.38,si:14,ku:0,tyo:16,son:0},
			{name:"群馬県",kentyo:"前橋市",jinko:2012816,menseki:6363.16,mitsudo:316.32,si:12,ku:0,tyo:15,son:9},
			{name:"埼玉県",kentyo:"さいたま市",jinko:7137434,menseki:3797.25,mitsudo:1879.63,si:40,ku:10,tyo:29,son:1},
			{name:"千葉県",kentyo:"千葉市",jinko:6147347,menseki:5156.6,mitsudo:1192.13,si:36,ku:6,tyo:17,son:3},
			{name:"東京都",kentyo:"東京(新宿区)",jinko:12898939,menseki:2187.58,mitsudo:5896.44,si:26,ku:23,tyo:5,son:8},
			{name:"神奈川県",kentyo:"横浜市",jinko:8956804,menseki:2415.84,mitsudo:3707.53,si:19,ku:25,tyo:13,son:1},
			{name:"新潟県",kentyo:"新潟市",jinko:2395139,menseki:12583.47,mitsudo:190.34,si:20,ku:8,tyo:7,son:4},
			{name:"富山県",kentyo:"富山市",jinko:1101292,menseki:4247.55,mitsudo:259.28,si:10,ku:0,tyo:4,son:1},
			{name:"石川県",kentyo:"金沢市",jinko:1169167,menseki:4185.48,mitsudo:279.34,si:10,ku:0,tyo:9,son:0},
			{name:"福井県",kentyo:"福井市",jinko:812479,menseki:4189.28,mitsudo:193.94,si:9,ku:0,tyo:8,son:0},
			{name:"山梨県",kentyo:"甲府市",jinko:872724,menseki:4465.37,mitsudo:195.44,si:13,ku:0,tyo:9,son:6},
			{name:"長野県",kentyo:"長野市",jinko:2173248,menseki:13562.23,mitsudo:160.24,si:19,ku:0,tyo:24,son:35},
			{name:"岐阜県",kentyo:"岐阜市",jinko:2098131,menseki:10621.17,mitsudo:197.54,si:21,ku:0,tyo:19,son:2},
			{name:"静岡県",kentyo:"静岡市",jinko:3798258,menseki:7780.12,mitsudo:488.2,si:23,ku:10,tyo:14,son:0},
			{name:"愛知県",kentyo:"名古屋市",jinko:7398327,menseki:5164.57,mitsudo:1432.52,si:36,ku:16,tyo:21,son:2},
			{name:"三重県",kentyo:"津市",jinko:1869669,menseki:5777.17,mitsudo:323.63,si:14,ku:0,tyo:15,son:0},
			{name:"滋賀県",kentyo:"大津市",jinko:1401073,menseki:4017.36,mitsudo:348.75,si:13,ku:0,tyo:7,son:0},
			{name:"京都府",kentyo:"京都市",jinko:2635134,menseki:4613,mitsudo:571.24,si:15,ku:11,tyo:10,son:1},
			{name:"大阪府",kentyo:"大阪市",jinko:8833777,menseki:1897.72,mitsudo:4654.94,si:33,ku:31,tyo:9,son:1},
			{name:"兵庫県",kentyo:"神戸市",jinko:5596449,menseki:8395.61,mitsudo:666.59,si:29,ku:9,tyo:12,son:0},
			{name:"奈良県",kentyo:"奈良市",jinko:1405074,menseki:3691.09,mitsudo:380.67,si:12,ku:0,tyo:15,son:12},
			{name:"和歌山県",kentyo:"和歌山市",jinko:1012397,menseki:4726.28,mitsudo:214.21,si:9,ku:0,tyo:20,son:1},
			{name:"鳥取県",kentyo:"鳥取市",jinko:594915,menseki:3507.26,mitsudo:169.62,si:4,ku:0,tyo:14,son:1},
			{name:"島根県",kentyo:"松江市",jinko:725202,menseki:6707.78,mitsudo:108.11,si:8,ku:0,tyo:12,son:1},
			{name:"岡山県",kentyo:"岡山市",jinko:1948679,menseki:7113.2,mitsudo:273.95,si:15,ku:4,tyo:10,son:2},
			{name:"広島県",kentyo:"広島市",jinko:2870037,menseki:8479.03,mitsudo:338.49,si:14,ku:8,tyo:9,son:0},
			{name:"山口県",kentyo:"山口市",jinko:1464566,menseki:6112.73,mitsudo:239.59,si:13,ku:0,tyo:6,son:0},
			{name:"徳島県",kentyo:"徳島市",jinko:794189,menseki:4145.9,mitsudo:191.56,si:8,ku:0,tyo:15,son:1},
			{name:"香川県",kentyo:"高松市",jinko:1003004,menseki:1876.51,mitsudo:534.51,si:8,ku:0,tyo:9,son:0},
			{name:"愛媛県",kentyo:"松山市",jinko:1444288,menseki:5677.55,mitsudo:254.39,si:11,ku:0,tyo:9,son:0},
			{name:"高知県",kentyo:"高知市",jinko:773961,menseki:7105.04,mitsudo:108.93,si:11,ku:0,tyo:17,son:6},
			{name:"福岡県",kentyo:"福岡市",jinko:5060711,menseki:4976.59,mitsudo:1016.9,si:28,ku:14,tyo:30,son:2},
			{name:"佐賀県",kentyo:"佐賀市",jinko:855676,menseki:2439.58,mitsudo:350.75,si:10,ku:0,tyo:10,son:0},
			{name:"長崎県",kentyo:"長崎市",jinko:1441451,menseki:4095.55,mitsudo:351.96,si:13,ku:0,tyo:10,son:0},
			{name:"熊本県",kentyo:"熊本市",jinko:1822155,menseki:7405.69,mitsudo:246.05,si:14,ku:0,tyo:25,son:8},
			{name:"大分県",kentyo:"大分市",jinko:1201715,menseki:6339.34,mitsudo:189.56,si:14,ku:0,tyo:3,son:1},
			{name:"宮崎県",kentyo:"宮崎市",jinko:1136833,menseki:7734.78,mitsudo:146.98,si:9,ku:0,tyo:16,son:3},
			{name:"鹿児島県",kentyo:"鹿児島市",jinko:1720017,menseki:9188.41,mitsudo:187.19,si:18,ku:0,tyo:23,son:4},
			{name:"沖縄県",kentyo:"那覇市",jinko:1377708,menseki:2275.71,mitsudo:605.4,si:11,ku:0,tyo:11,son:19}
		]);
		
		public var currentData:Object;
		public var currentKey:String;
		
		
		[Embed(source="../assets/tohoku/imgHokaido_normal.swf")]
		public var imgHokaido_normal:Class;

		[Embed(source="../assets/tohoku/imgAkita_normal.swf")]
		public var imgAkita_normal:Class;

		[Embed(source="../assets/tohoku/imgAomori_normal.swf")]
		public var imgAomori_normal:Class;

		[Embed(source="../assets/tohoku/imgFukusima_normal.swf")]
		public var imgFukusima_normal:Class;

		[Embed(source="../assets/tohoku/imgIwate_normal.swf")]
		public var imgIwate_normal:Class;

		[Embed(source="../assets/tohoku/imgMiyagai_normal.swf")]
		public var imgMiyagai_normal:Class;

		[Embed(source="../assets/tohoku/imgYamagata_normal.swf")]
		public var imgYamagata_normal:Class;

		[Embed(source="../assets/sinetsu/imgNigata_normal.swf")]
		public var imgNigata_normal:Class;

		[Embed(source="../assets/sinetsu/imgNagano_normal.swf")]
		public var imgNagano_normal:Class;

		[Embed(source="../assets/hokuriku/imgToyama_normal.swf")]
		public var imgToyama_normal:Class;

		[Embed(source="../assets/hokuriku/imgIsikawa_normal.swf")]
		public var imgIsikawa_normal:Class;

		[Embed(source="../assets/hokuriku/imgFukui_normal.swf")]
		public var imgFukui_normal:Class;

		[Embed(source="../assets/kanto/imgChiba_normal.swf")]
		public var imgChiba_normal:Class;

		[Embed(source="../assets/kanto/imgGunma_normal.swf")]
		public var imgGunma_normal:Class;

		[Embed(source="../assets/kanto/imgIbaragi_normal.swf")]
		public var imgIbaragi_normal:Class;

		[Embed(source="../assets/kanto/imgKanagawa_normal.swf")]
		public var imgKanagawa_normal:Class;

		[Embed(source="../assets/kanto/imgSaitama_normal.swf")]
		public var imgSaitama_normal:Class;

		[Embed(source="../assets/kanto/imgTocigi_normal.swf")]
		public var imgTocigi_normal:Class;

		[Embed(source="../assets/kanto/imgTokyo_normal.swf")]
		public var imgTokyo_normal:Class;

		[Embed(source="../assets/kanto/imgYamanasi_normal.swf")]
		public var imgYamanasi_normal:Class;

		[Embed(source="../assets/tokai/imgSizuoka_normal.swf")]
		public var imgSizuoka_normal:Class;

		[Embed(source="../assets/tokai/imgAichi_normal.swf")]
		public var imgAichi_normal:Class;

		[Embed(source="../assets/tokai/imgGifu_normal.swf")]
		public var imgGifu_normal:Class;

		[Embed(source="../assets/tokai/imgMie_normal.swf")]
		public var imgMie_normal:Class;

		[Embed(source="../assets/kinki/imgSiga_normal.swf")]
		public var imgSiga_normal:Class;

		[Embed(source="../assets/kinki/imgKyoto_normal.swf")]
		public var imgKyoto_normal:Class;

		[Embed(source="../assets/kinki/imgNara_normal.swf")]
		public var imgNara_normal:Class;

		[Embed(source="../assets/kinki/imgWakayama_normal.swf")]
		public var imgWakayama_normal:Class;

		[Embed(source="../assets/kinki/imgOsaka_normal.swf")]
		public var imgOsaka_normal:Class;

		[Embed(source="../assets/kinki/imgHyogo_normal.swf")]
		public var imgHyogo_normal:Class;

		[Embed(source="../assets/chugoku/imgTotori_normal.swf")]
		public var imgTotori_normal:Class;

		[Embed(source="../assets/chugoku/imgOkayama_normal.swf")]
		public var imgOkayama_normal:Class;

		[Embed(source="../assets/chugoku/imgShimane_normal.swf")]
		public var imgShimane_normal:Class;

		[Embed(source="../assets/chugoku/imgHiroshima_normal.swf")]
		public var imgHiroshima_normal:Class;

		[Embed(source="../assets/chugoku/imgYamaguchi_normal.swf")]
		public var imgYamaguchi_normal:Class;

		[Embed(source="../assets/sikoku/imgTokusima_normal.swf")]
		public var imgTokusima_normal:Class;

		[Embed(source="../assets/sikoku/imgKagawa_normal.swf")]
		public var imgKagawa_normal:Class;

		[Embed(source="../assets/sikoku/imgEhime_normal.swf")]
		public var imgEhime_normal:Class;

		[Embed(source="../assets/sikoku/imgKochi_normal.swf")]
		public var imgKochi_normal:Class;

		[Embed(source="../assets/kyusyu/imgFukuoka_normal.swf")]
		public var imgFukuoka_normal:Class;

		[Embed(source="../assets/kyusyu/imgSaga_normal.swf")]
		public var imgSaga_normal:Class;

		[Embed(source="../assets/kyusyu/imgNagasaki_normal.swf")]
		public var imgNakagasaki_normal:Class;

		[Embed(source="../assets/kyusyu/imgOita_normal.swf")]
		public var imgOita_normal:Class;

		[Embed(source="../assets/kyusyu/imgMiyazaki_normal.swf")]
		public var imgMiyazaki_normal:Class;

		[Embed(source="../assets/kyusyu/imgKumamoto_normal.swf")]
		public var imgKumamoto_normal:Class;

		[Embed(source="../assets/kyusyu/imgKagosima_normal.swf")]
		public var imgKagosima_normal:Class;

		[Embed(source="../assets/kyusyu/imgOkinawa_normal.swf")]
		public var imgOkinawa_normal:Class;
		
		static public function getInstance():ModelLocator {
			if (__instance == null)
			{
				__instance = new ModelLocator();
			}
			return __instance;
		}	
	}

}